﻿using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using SqlSugar;
using System;
using wnet.admin.wentcommon;


namespace Models
{
    /// <summary>
    /// 专家
    ///</summary>
    [SugarTable("yw_expert")]
    public class yw_expert
    {


        /// <summary>
        /// 备  注:id
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }




        /// <summary>
        /// 备  注:姓名
        ///</summary> 
        public string name { get; set; }

        /// <summary>
        /// 备  注:头像
        ///</summary> 
        public string photo { get; set; }



        /// <summary>
        /// 备  注:职务
        ///</summary>
        [SugarColumn(ColumnName = "title")]
        public string title { get; set; }

        /// <summary>
        /// 备  注:技术职称
        ///</summary> 
        public string technicaltitle { get; set; }

        /// <summary>
        /// 备  注:专业方向
        ///</summary> 
        public string professionaldirection { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public string birthday { get; set; }

        /// <summary>
        /// 所在单位
        /// </summary>
        public string workname { get; set; }

        /// <summary>
        /// 学历
        /// </summary>
        public string education { get; set; }

        /// <summary>
        /// 个人简介
        ///</summary>
        [SugarColumn(ColumnName = "detailinfo")]
        public string detailinfo { get; set; }

        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "createtime")]
        public DateTime createtime { get; set; }

        /// <summary>
        /// 备  注:修改时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "updatetime")]
        public DateTime updatetime { get; set; }


    }

}